package com.ruyuan.eshop.common.dao;

import com.baomidou.mybatisplus.extension.service.IService;
import com.ruyuan.eshop.common.domain.entity.TradeDO;
import com.ruyuan.eshop.common.enums.OrderStatusEnum;

/**
 * 交易mapper
 * @author pwd
 * @version 1.0
 */
public interface TradeDAO extends IService<TradeDO> {

    void updateTradeStatus(String tradeSn);

    boolean updateTradeStatus(String sn, OrderStatusEnum orderStatus);

}
